package com.cx.config;

import org.springframework.context.annotation.Bean;
import org.springframework.web.servlet.view.InternalResourceViewResolver;

public class view {
    @Bean
public InternalResourceViewResolver internalResourceViewResolver(){
    InternalResourceViewResolver view=new InternalResourceViewResolver();

    view.setPrefix("/page/");
    view.setSuffix(".jsp");
    return view;

}
}
